<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
		
		    // 获取元素对象时，保证元素对象先加载
			function run1(){
				alert("加载 完毕");
			}
		</script>
	</head>
	<body onload="run1()">
		
	</body>
</html>
